-- GENERATED SPELL FOR [Bloodsail Raider] --


function spell0_1561(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(6533,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1561', 2273, 1)
end

function Sorts_1561(pUnit, Event)
local choix_sorts_1561 = math.random(0, 0)
if choix_sorts_1561 == 0 then
pUnit:RegisterEvent('spell0_1561', 1, 1)
end
end

function mob1561_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1561', math.random(1500, 3000), 1)
end

function mob1561_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1561_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1561_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1561, 1, 'mob1561_Action')
RegisterUnitEvent(1561, 2, 'mob1561_Leave')
RegisterUnitEvent(1561, 3, 'mob1561_Kill')
RegisterUnitEvent(1561, 4, 'mob1561_Die')
